package cn.liumouren.jzxd.service.impl;

import cn.liumouren.jzxd.dao.SceneManagerDao;
import cn.liumouren.jzxd.entity.SceneManager;
import cn.liumouren.jzxd.service.SceneManagerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;
import java.util.Collection;

/**
 * (SceneManager)表服务实现类
 *
 * @author makejava
 * @since 2021-01-20 17:17:06
 */
@Service("sceneManagerService")
public class SceneManagerServiceImpl extends ServiceImpl<SceneManagerDao, SceneManager> implements SceneManagerService {
    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean save(SceneManager sceneManager) {
        return super.save(sceneManager);
    }

    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean updateById(SceneManager sceneManager) {
        return super.updateById(sceneManager);
    }

    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean removeByIds(Collection<? extends Serializable> idList) {
        return super.removeByIds(idList);
    }
}